package com.JZ.QM.service;

import com.JZ.QM.common.entity.NewCombinationShareEntity;
import com.JZ.QM.common.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 
 *
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020-06-14 11:19:35
 */
public interface NewCombinationShareService extends IService<NewCombinationShareEntity> {

    /**
     * 分页查询
     * @param params
     * @return
     * @throws Exception
     */
    PageUtils queryPage(Map<String, Object> params) throws Exception;

    /**
     *根据组合获取用户修改后的组合列表
     * @param comBaseId 用户组合id
     * @return
     */
    String getNewComDetail(Long comBaseId);

    /**
     * 判断是否已经存在
     * @param productCode
     * @param newComId
     * @return
     */
    NewCombinationShareEntity getShareEntity(String productCode, Long newComId);
}

